package cn.edu.xmu.wnw.dao;

// default package

import java.util.List;

import org.springframework.context.ApplicationContext;

import cn.edu.xmu.wnw.pojo.FriendCategory;

public interface FriendCategoryDAO {

	public void initDao();

	public void save(FriendCategory transientInstance);

	public void delete(FriendCategory persistentInstance);

	public FriendCategory findById(java.lang.Integer id);

	public List findByExample(FriendCategory instance);

	public List findByProperty(String propertyName, Object value);

	public List findByName(Object name);

	public List findAll();

	public FriendCategory merge(FriendCategory detachedInstance);

	public void attachDirty(FriendCategory instance);

	public void attachClean(FriendCategory instance);

	public FriendCategoryDAO getFromApplicationContext(ApplicationContext ctx);
}